package com.ruoyi.cpsp.service;

import com.ruoyi.cpsp.domain.ApprovalRecord;
import com.ruoyi.cpsp.domain.ApprovalRecordOldNew;
import com.ruoyi.cpsp.dto.ApprovalRecordModifyDto;

import java.util.List;
import java.util.Map;

public interface ApprovalRecordService {

    int insert(ApprovalRecordModifyDto record);

    ApprovalRecord getone(int id);

    int update(ApprovalRecord record);

    int agree(int id);

    int reject(int id);

    List<ApprovalRecord> select();

    ApprovalRecordOldNew detail(int id);

}
